home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000526_root@riese.thi.…i-frankfurt.de_Mon May 2 18:00:31 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  14KB

  1. Received: from riese.informatik.uni-frankfurt.de (riese.thi.informatik.uni-frankfurt.de) by cs.umb.edu with SMTP id AA15207
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 2 May 1994 09:59:53 -0400
  3. Received: by riese.informatik.uni-frankfurt.de (4.1/THI-peleuck2.1)
  4.     id AA11465; Mon, 2 May 94 16:00:31 +0200
  5. Date: Mon, 2 May 94 16:00:31 +0200
  6. From: root@riese.thi.informatik.uni-frankfurt.de (Operator)
  7. Content-Transfer-Encoding: binary
  8. Content-Type: text/plain; charset=ISO-8859-1
  9. Message-Id: <9405021400.AA11465@riese.informatik.uni-frankfurt.de>
  10. To: tex-k@cs.umb.edu
  11. Subject: Error in dvipsk-5.519b
  12.  
  13. Hello!
  14.  
  15. I am trying to keep the environment of our c shells small. Therefore I tried to
  16. delete the environment variable PKFONTS. Normally I am using an Apple
  17. LaserWriter II with 300 DPI, but this time I wanted to use an HP LaserJet IV
  18. with 600 DPI. Look what happend:
  19.  
  20. 0    dvips -Plp33 /tmp/AnnaBlume.dvi
  21. 1    This is dvipsk 5.519b Copyright 1986, 1993 Radical Eye Software
  22. 2    dvips: "CONFIG.pscsads wurde gelesen."
  23. 3    ' TeX output 1994.04.28:1744' -> !lpr -Ppscsads
  24. 4    ln: /usr/local/tex/lib/fonts/PKs/vacal14.864pk: File exists
  25. 5    dvips: Font vacal14 at 864 not found; scaling 300 instead.
  26. 6    dvips: Such scaling will generate extremely poor output.
  27. 7    <tex.pro><texps.pro>. [1] 
  28.  
  29. The line printer 33 has the name pscsads too (line #2,3 ); our MakeTeXPK is
  30. enriched to store new TFM or PK files in a tree of directories that corresponds
  31. to the same tree of input or MF files. Additionally it produces hardlinks (line
  32. # 4) to accelerate the work of XDvi and dvips (they search only one directory
  33. plenty of hardlinks; of course the hardlinks exist only on host 1 which serves
  34. the LaserWriter or on host 2 which serves the LaserJet). As you can see dvips
  35. _does_ _not_ find the appropriate PK file although it exists, which is stated
  36. by ln (line #4). I say that dvips _does_ find any PK or whatever file, if it
  37. does not, then there is something wrong. So MakeTeXPK must not check for the
  38. existence of a file or hardlink, but puts an error message in the shell to let
  39. me look after it.
  40.  
  41. Once again in dubugging mode of dvips:
  42.  
  43.     dvips -d 127 -Plp33 /tmp/AnnaBlume.dvi -o
  44.     config path: /usr/local/tex/lib/dvips
  45.     </usr/local/tex/lib/dvips/config.ps(r)> succeeded
  46.     </usr/local/tex/lib/dvips/config.lp33(r)> succeeded
  47.     PK path: .:/usr/local/tex/lib/fonts/TFM//
  48.     TFM path: .:/usr/local/tex/lib/fonts/TFM//
  49.     VF path: /usr/local/tex/lib/fonts/VF//
  50.     pict path: .:/usr/local/tex/lib/texinput//:/home/local/tex/inputs:/home/riese/thi/pete/texmacros
  51.     header path: /usr/local/tex/lib/dvips
  52.     fig path: .:/usr/local/tex/lib/texinput//:/home/local/tex/inputs:/home/riese/thi/pete/texmacros
  53.     Last resort sizes: 300
  54.     </usr/local/tex/lib/dvips/psfonts.map(r)> succeeded
  55.     This is dvipsk 5.519b Copyright 1986, 1993 Radical Eye Software
  56.     </tmp/AnnaBlume.dvi.dvi(r)> failed
  57.     </tmp/AnnaBlume.dvi(r)> succeeded
  58.     input file /tmp/AnnaBlume.dvi output file AnnaBlume.ps swmem 1482368
  59.     dvips: "CONFIG.pscsads wurde gelesen."
  60.     </usr/local/tex/lib/dvips/tex.pro(r)> succeeded
  61.     Adding header file "tex.pro" 3222
  62.     ' TeX output 1994.04.28:1744' -> AnnaBlume.ps
  63.     bop at 43
  64.     Scanning page 1
  65.     Defining font () vacal14 at 20.2pt
  66.     ^C
  67.  
  68. As you can see the PKPATH is not correctly defined.
  69. /usr/local/tex/lib/dvips/config.ps has this contents:
  70.  
  71.     # almost original config.ps -- default definitions for dvips output.
  72.     # 
  73.     # (If you change or delete `original' on the previous line, dvips won't
  74.     # install its config.ps over this file.)
  75.     # 
  76.     #:/usr/local/tex/lib/dvips/.PFA:/usr/local/tex/lib/dvips/.PFB:/usr/local/tex/lib/fonts/pfb 
  77.     H /usr/local/tex/lib/dvips
  78.     S /usr/openwin/share/images/PostScript
  79.     T /usr/local/tex/lib/fonts/TFM//
  80.     V /usr/local/tex/lib/fonts/VF//
  81.     #P /usr/local/tex/lib/fonts/PK/CanonCX//:/usr/local/tex/lib/fonts/PK/LaserJetIV//
  82.     #
  83.     # Paper size information.  First definition is the default.
  84.     #
  85.     # If your default is a4 uncomment the following definition
  86.     # and comment out the letterSize definition.
  87.     #
  88.     # There is some redundancy in the following comments; that is to
  89.     # get things to work both on the NeXT and on other printers.
  90.     #
  91.     @ a4size 210mm 297mm
  92.     @+ %%PaperSize: a4
  93.     #
  94.     W "CONFIG.ps wurde gelesen."
  95.     #
  96.  
  97. while /usr/local/tex/lib/dvips/config.lp33 has this particular contents:
  98.  
  99.     #
  100.     #   With a virtual machine, we can claim 1M of memory.
  101.     #
  102.     m 1482368
  103.     #
  104.     #   Send output by default to a PostScript file.
  105.     #
  106.     o !lpr -Ppscsads
  107.     #
  108.     #
  109.     # Default resolution.
  110.     #
  111.     D 600
  112.     #
  113.     # Mode is for HP LaserJet 4M engine.
  114.     #
  115.     M LaserJetIV
  116.     #
  117.     R
  118.     # 600 657 720 864 1037 1244 1493
  119.     #
  120.     P /usr/local/tex/lib/fonts/PK/LaserJetIV//
  121.     #
  122.     W "CONFIG.pscsads wurde gelesen."
  123.  
  124.  
  125. where a config file for a LaserWriter might contain that:
  126.  
  127.     #
  128.     #   With a virtual machine, we can claim 1M of memory.
  129.     #
  130.     m 404708
  131.     #
  132.     #   Send output by default to a PostScript file.
  133.     #
  134.     o !lpr -Pthi1
  135.     #
  136.     #
  137.     # Default resolution.
  138.     #
  139.     D 300
  140.     #
  141.     # Mode is for Canon engine.
  142.     #
  143.     M CanonCX
  144.     #
  145.     R
  146.     # 300 329 360 432 518 622 746
  147.     P /usr/local/tex/lib/fonts/PK/CanonCX//
  148.     #
  149.     W "CONFIG.thi1 wurde gelesen."
  150.  
  151.  
  152. As you can see a lot of files is shared between the printers and the particular
  153. configurations files contain information specially suited for the specific
  154. printer.
  155.  
  156. On Friday I tried to install for test purpose dvips5528. I configured this
  157. version same as dvipsk-5.519b, and I got the same results: the line starting
  158. with P in config.thi1 or config.lp33 is _not_ parsed or used to configure the
  159. working environment of dvips, i.e. dvips again does _not_find
  160. /usr/local/tex/lib/fonts/PK/LaserJetIV/misc/vacal14.864pk which _does_ exist at
  161. this place:
  162.  
  163. -rw-r--r--  2 root     daemon      37412 Feb 15 21:59 /usr/local/tex/lib/fonts/PK/LaserJetIV/misc/vacal14.864pk
  164.  
  165. This you can see on the host containing the PK files for the LaserJet IV:
  166.  
  167. ls -lg /usr/local/tex/lib/fonts/PKs/vacal14.864pk /usr/local/tex/lib/fonts/PK/LaserJetIV/misc/vacal14.864pk
  168. -rw-r--r--  2 root     daemon      37412 Feb 15 21:59 /usr/local/tex/lib/fonts/PK/LaserJetIV/misc/vacal14.864pk
  169. -rw-r--r--  2 root     daemon      37412 Feb 15 21:59 /usr/local/tex/lib/fonts/PKs/vacal14.864pk
  170.  
  171. This morning I re-compiled dvipsk-5.519b with make -D. The make in
  172. dvipsk-5.519b/dvipsk was configured with a ``default_pk_path  =
  173. $(texfontdir)/PKs:$(texfontdir)/PK//''
  174. which expands on the SPARCstations first to the directory containing the laser
  175. printer specific PK fonts and then to the general directories. Again dvips did
  176. not work as as I wanted. So I asked Emacs to search for ``pk_'', and this was
  177. found:
  178.  
  179.     cd ../kpathsea; make 
  180.     >>>>>>>>>>>>>>>> Reading makefile Makefile
  181.     version  = 1.3
  182.     lib  = kpathsea.a
  183.     .
  184.     .
  185.     .
  186.     default_glyph_path  = $(default_font_path)
  187.     default_gf_path  = $(default_glyph_path)
  188.     default_pk_path  = $(default_glyph_path)
  189.     default_texsizes  = 300
  190.     DEFS  = $(XDEFS)
  191.     CC  = gcc -O2 -v -pipe
  192.  
  193. OK, it's easy to change. Done, make clear, and made again. A try:
  194.  
  195.    RIESE 324 /\ ./dvips -d 127 -Ppscsads /tmp/AnnaBlume -o
  196.    config path: /usr/local/tex/lib/dvips
  197.    </usr/local/tex/lib/dvips/config.ps(r)> succeeded
  198.    </usr/local/tex/lib/dvips/config.pscsads(r)> succeeded
  199.    PK path: .:/usr/local/tex/lib/fonts/TFM//
  200.    TFM path: .:/usr/local/tex/lib/fonts/TFM//
  201.    VF path: /usr/local/tex/lib/fonts/VF//
  202.    pict path: .:/usr/local/tex/lib/texinput//:/home/local/tex/inputs:/home/riese/thi/pete/texmacros
  203.    header path: /usr/local/tex/lib/dvips
  204.    fig path: .:/usr/local/tex/lib/texinput//:/home/local/tex/inputs:/home/riese/thi/pete/texmacros
  205.    Last resort sizes: 300
  206.    </usr/local/tex/lib/dvips/psfonts.map(r)> succeeded
  207.    This is dvipsk 5.519b Copyright 1986, 1993 Radical Eye Software
  208.    </tmp/AnnaBlume.dvi(r)> succeeded
  209.    input file /tmp/AnnaBlume.dvi output file AnnaBlume.ps swmem 1482368
  210.    ./dvips: "CONFIG.pscsads wurde gelesen."
  211.    </usr/local/tex/lib/dvips/tex.pro(r)> succeeded
  212.    Adding header file "tex.pro" 3222
  213.    ' TeX output 1994.04.28:1744' -> AnnaBlume.ps
  214.    bop at 43
  215.    Scanning page 1
  216.    Defining font () vacal14 at 20.2pt
  217.    
  218.    RIESE 325 /\ pwd
  219.    /export/swap/sparctex/src/dvipsk-5.519b/dvipsk
  220.    RIESE 326 /\ l ./dvips*
  221.    -rwxr-xr-x  1 root       188416 May  2 15:40 dvips
  222.    -rw-r--r--  1 107         12852 May  1  1993 ./dvips.1
  223.    -rw-r--r--  1 107         34660 Aug 29  1993 ./dvips.c
  224.    -rw-r--r--  1 107          8017 Oct  6  1993 ./dvips.h
  225.    -rw-r--r--  1 107          1510 Sep 25  1993 ./dvips.info    !! kpathsea.info looks for dvipsK
  226.    -rw-r--r--  1 107         46300 Sep 25  1993 ./dvips.info-1
  227.    -rw-r--r--  1 107         48088 Sep 25  1993 ./dvips.info-2
  228.    -rw-r--r--  1 107         24029 Sep 25  1993 ./dvips.info-3
  229.    -rw-r--r--  1 root        25600 May  2 15:39 dvips.o
  230.    -rw-r--r--  1 107        112706 Sep 24  1993 ./dvips.texi
  231.  
  232. It's astonishing, isn't it? Looking into the *comilation* buffer I found those
  233. occurences of the string ``pk'':
  234.  
  235. cd /export/swap/sparctex/src/dvipsk-5.519b/
  236. make -k -D
  237. >>>>>>>>>>>>>>>> Reading makefile Makefile
  238. programs  = dvipsk web2c xdvik
  239. kpathsea_dir  = kpathsea
  240. all_dirs  = $(programs) $(kpathsea_dir)
  241. prefix  = /usr/local/tex
  242. .
  243. .
  244. .
  245. default_pk_path  = $(texfontdir)/PKs:$(texfontdir)/PK//
  246. .
  247. .
  248. .
  249. makeargs  = $(MFLAGS) SHELL='$(SHELL)'  prefix=$(prefix) exec_prefix=$(exec_prefix)  bindir=$(bindir) libdir=$(libdir)  datadir=$(datadir) infodir=$(infodir) includedir=$(includedir)  manext=$(manext) mandir=$(mandir)  texprefix=$(texprefix)     mfprefix=$(mfprefix)  texinputdir=$(texinputdir) mfinputdir=$(mfinputdir)  texpooldir=$(texpooldir)   mfpooldir=$(mfpooldir)  texfontdir=$(texfontdir)  default_bib_path='$(default_bib_path)'  default_bst_path='$(default_bst_path)'  default_fmt_path='$(default_fmt_path)'  default_base_path='$(default_base_path)'  default_tex_path='$(default_tex_path)'  default_mf_path='$(default_mf_path)'  default_texpool_path='$(default_texpool_path)'  default_mfpool_path='$(default_mfpool_path)'  default_font_path='$(default_font_path)'  default_tfm_path='$(default_tfm_path)'  default_vf_path='$(default_vf_path)'  default_glyph_path='$(default_glyph_path)'  default_gf_path='$(default_gf_path)'  default_pk_path='$(default_pk_path)'  default_texsizes=!
  250. '$(default_texsizes)'  $(MAKEARGS)
  251.  
  252. .
  253. .
  254. .
  255. >>>>>>>>>>>>>>>> End of makefile Makefile
  256. cd kpathsea; make -Dk SHELL='/bin/sh'  prefix=/usr/local/tex exec_prefix=/usr/local/tex  bindir=/usr/local/tex/bin libdir=/usr/local/tex/lib  datadir=/usr/local/tex/lib infodir=/pub/info/info includedir=/usr/local/tex/include  manext=1 mandir=/usr/local/tex/man/man1  texprefix=/usr/local/tex/lib     mfprefix=/usr/local/tex/lib  texinputdir=/usr/local/tex/lib/texinput mfinputdir=/usr/local/tex/lib/mfinput  texpooldir=/usr/local/tex/lib   mfpooldir=/usr/local/tex/lib  texfontdir=/usr/local/tex/lib/fonts  default_bib_path='.:/usr/local/tex/lib//'  default_bst_path='.:/usr/local/tex/lib/texinput/bibtex'  default_fmt_path='.:/usr/local/tex/lib/formats'  default_base_path='.:/usr/local/tex/lib/bases'  default_tex_path='.:/usr/local/tex/lib/texinput//'  default_mf_path='.:/usr/local/tex/lib/mfinput'  default_texpool_path='/usr/local/tex/lib'  default_mfpool_path='/usr/local/tex/lib'  default_font_path='.:/usr/local/tex/lib/fonts//'  default_tfm_path='/usr/local/tex/lib/fonts/TFM//'!
  257.   default_vf_path='/usr/local/tex/
  258. lib/fonts/VF//'  default_glyph_path='.:/usr/local/tex/lib/fonts//'  default_gf_path='.:/usr/local/tex/lib/fonts//'  default_pk_path='/usr/local/tex/lib/fonts/PKs:/usr/local/tex/lib/fonts/PK//'  default_texsizes='300'  
  259. >>>>>>>>>>>>>>>> Reading makefile /usr/include/make/default.mk
  260. .
  261. .
  262. .
  263. default_pk_path  = $(texfontdir)/PKs:$(texfontdir)/PK//
  264. .
  265. .
  266. .
  267. and so on. dvips is finally made by this invocation:
  268.  
  269. gcc version 2.5.8
  270.  /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/ld -e start -dc -dp -o dvips /lib/crt0.o -L/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8 -L/usr/local/lib dospecial.o dviinput.o emspecial.o fontdef.o loadfont.o dvips.o tfmload.o download.o prescan.o scanpage.o skippage.o output.o scalewidth.o dosection.o dopage.o resident.o search.o unpack.o drawPS.o header.o makefont.o repack.o virtualfont.o dpicheck.o finclude.o pprescan.o papersiz.o color.o bbox.o ../kpathsea/kpathsea.a -lm -lgcc -lc -lgcc
  271.  
  272. in ../kpathsea/kpathsea.a I can find these strings (strings ../kpathsea/kpathsea.a | grep PK):
  273.  
  274. /usr/local/tex/lib/fonts/PKs:/usr/local/tex/lib/fonts/PK//
  275. PKFONTS
  276. TEXPKS
  277. MakeTeXPK
  278.  
  279. and when I invoke ./dvips -d 127 -Ppscsads /tmp/AnnaBlume -o I find:
  280.  
  281. config path: /usr/local/tex/lib/dvips
  282. </usr/local/tex/lib/dvips/config.ps(r)> succeeded
  283. </usr/local/tex/lib/dvips/config.pscsads(r)> succeeded
  284. PK path: .:/usr/local/tex/lib/fonts/TFM//
  285. TFM path: .:/usr/local/tex/lib/fonts/TFM//
  286. VF path: /usr/local/tex/lib/fonts/VF//
  287.  
  288. =============================================================================
  289. There is something wrong, isn't it?
  290.  
  291.  
  292. Greetings
  293.  
  294. Pete
  295.  
  296. (Peter Dyballa)
  297.  
  298. Johann Wolfgang Goethe-Universitdt
  299. Fachbereich 20 - Theoretische Informatik
  300. (Department for Computer Science)
  301. Robert-Mayer-Str. 11-15
  302. D 60325 Frankfurt am Main
  303. (Federal Republic of Germany)
  304.  
  305. email:pete@thi.informatik.uni-frankfurt.de
  306. voice:0049-69-798 8224
  307. fax:  0049-69-798 8353